/*
 * Created by: 	Zhaoningbo
 * at:			2011-8-29 - 下午03:31:53
 * blog:		(http://zhaoningbo.iteye.com/)
 */
package com.gc.action.autoproxy.aop;

import java.io.Serializable;
import java.lang.reflect.Method;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.aop.AfterReturningAdvice;

public class LogAfter implements Serializable, AfterReturningAdvice {

    private static final long serialVersionUID = -7408282384153989924L;
    private Log logger = LogFactory.getLog(this.getClass().getName());
    
    public void afterReturning(Object obj, Method method, Object[] args,
            Object target) throws Throwable {
        logger.info("LogAfter:" + args[0] + ", doing");
    }

}
